package com.cxs.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cxs.entity.SeatOrder;
import com.cxs.service.SeatOrderService;
import com.cxs.mapper.SeatOrderMapper;
import com.cxs.entity.vo.SeatOrderVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.time.LocalDate;
import java.util.List;

/**
 * @ClassName: SeatOrderServiceImpl
 * @description:
 * @author: 诗涵
 * @create: 2024-01-07 08:17
 */
@Service
public class SeatOrderServiceImpl extends ServiceImpl<SeatOrderMapper, SeatOrder>
    implements SeatOrderService{

    @Autowired
    private SeatOrderMapper seatOrderMapper;

    @Override
    public List<SeatOrderVO> getReservationBySno(Integer sno, LocalDate date) {

        return seatOrderMapper.getReservationBySno(sno, date);
    }
}




